package com.example.bankend.model;

public class chatmessage {
    private String content;
    private String sender; // "user" 或 "ai"

    public chatmessage(String content, String sender) {
        this.content = content;
        this.sender = sender;
    }

    // Getters and Setters
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }
}